﻿// DigitalDesign
// Project: InformationBoard
// Developer: Baevskih Aleksandr
// Created: 14.11.2011
// Last change: 16.11.2011

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace Server
{
    [DataContract]
    public class PlaylistElement
    {

        public PlaylistElement(string VideoFileName, DateTime TimeOfBegin, DateTime TimeOfEnd)
        {
            this.VideoFileName = VideoFileName;
            this.TimeOfBegin = TimeOfBegin;
            this.TimeOfEnd = TimeOfEnd;
        }


        [DataMember]
        public string VideoFileName
        {
            get;
            set;
        }

        [DataMember]
        public DateTime TimeOfBegin
        {
            get;
            set;
        }

        [DataMember]
        public DateTime TimeOfEnd
        {
            get;
            set;
        }

        [DataMember]
        public int ID { get; set; }
    }
}
